package com.example.testlist.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.example.testlist.BuildConfig;
import com.example.testlist.R;
import com.gemall.library.ui.LibraryBaseActivity;
import com.zph.glpanorama.GLPanorama;

@Route(path = "/testlist/VRDemoActivity")
public class VRDemoActivity extends LibraryBaseActivity {



    private GLPanorama mGLPanorama;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_vrdemo);


        Window window = getWindow();
        WindowManager.LayoutParams lp = window.getAttributes();
        lp.screenBrightness = 255 / 255.0f; // 0 ~ 255
        window.setAttributes(lp);





        mGLPanorama= findViewById(R.id.mGLPanorama);
        mGLPanorama.setGLPanorama(R.drawable.img2);//imggugong


        String str = BuildConfig.URL;
    }
}
